# if 3>2:
#     print("yes")
# else:
#     print("no")
#
# import random
# num = random.randint(0,9)
# print(num)
# if num>4:
#     print("yes")
# else:
#     print("no")
# import random
# num = random.randint(-100,200)
# print(num)
# if num<60 and num >=0:
#     print("不及格")
# elif num>=60 and num<80:
#     print("良好")
# elif num>=80 and num <=100:
#     print("优秀")
# else:
#     print("数据有误")
# 循环
# for fan in range(100):
#     print(fan)
# 循环字符
# words="abcdefgsdgg"
# for m in words:
#     print(m)
# 循环列表
# study =["fanm","maos","tingshuang","peiepei"]
# for s in study:
#     print(s)
# 循环集合
# study={"fan","摩奥","mioao","txt","翻模啊"}
# for s in study:
#     print(s)
# 循环列表
# study = {
#     "fanmao":"莫奥数",
#     "tingshuang":"挺爽内裤",
#      "yizhi":"一致挺,一致爽",
# }
# for s,t in study.items():
#     print(s,t)
# 无限循环
# while True:
#     print("挺爽内裤,一直爽")

# 限制循环
# num=0
# while num<10:
#     print(num)
#     num=num+1
# 打出9层金字塔
# for i in range(9):
#     fan=(2*(i+1)-1) * "慧"
#     mao=(9-i+1) *"  "
#     print(mao+fan)

# break 中断循环
# for i in range(10):
#     print(i)
#     if i ==6:
#         break
# while 循环中断
# num = 0
# while True:
#     print(num)
#     num +=1
#     if num ==5:
#         break

# 中断循环
# num = 0
# while num<5:
#     num = num + 1
#     print(f"开始循环 {num}")
#     if num == 3:
#         continue
#     print(f"结束循环 {num}")

# for i in range(5):
#     print(f"开始循环{i}")
#     if i ==3:
#         continue
#     print(f"结束循环{i}")

# 多层嵌套循环
# for i in range(5):
#     print(f"i的值: {i}")
#     for j in range(3):
#         print(f"j的值开始{j}")
#         break
#         print(f"j的值结束{j}")
#     print(f"i的值:{i}")

# 函数
# def star():
#     for i in range(9):
#         star=(2*(i+1)-1) * "*"
#         blank=(9-i+1) * " "
#         print(blank+star)
#
# star()
#
# 返回值
# def get_phone():
#     import random
#     phone=random.randint(13000000000,13999999999)
#     return phone
# phone=get_phone()
# print(phone)

# def add(x):
#     return x+1
# a = add(1)
# print(a)
#
# b = add(x=10)
# print(b)

# def say(name,age,neiku):
#     print(f"我的名字叫{name},今年{age}岁,喜欢穿{neiku}")
# say('挺爽',"1000","挺爽内裤")
# say(name="挺爽",age="1000",neiku="挺爽内裤")

# def say(name="挺爽",xihuan="钱",mengxiang="打飞机"):
#     print(f'我是{name},喜欢{xihuan},每天想着{mengxiang}')
# say()
# say("陪陪","美男子","见一个,爱一个")
#
# def say(*args):
#     print(args,type(args))
# say()
# say("挺爽")
# say("挺爽","fanmoa",10)
#
# a = ("小明",)
# print(type(a))

# 字典参数
def say(**kwarger):
    print(kwarger,type(kwarger))
say()
say(name="挺爽",age="1000")